#ifndef ELINPUTNUMBER_H
#define ELINPUTNUMBER_H

#include "../basic/elcomponent.h"

class QDoubleSpinBox;

class ElInputNumber : public ElComponent
{
    Q_OBJECT
public:
    ElInputNumber(QWidget *parent = nullptr);

protected:
    bool event(QEvent *e) override;
    // void paintEvent(QPaintEvent *e) override;
    void initPalette() override;

private:
    QDoubleSpinBox *_doubleInput = nullptr;

    class ElInputNumberButton : public ElComponent
    {
    public:
    protected:
        // void initPalette() override;
    };
};

#endif // ELINPUTNUMBER_H
